package org.wei.p2p.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账号信息.
 * </p>
 *
 * @author wei
 * @since 2022-04-24
 */
@Getter
@Setter
@Accessors(chain = true)
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键.
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 用户名.
     */
    private String username;

    /**
     * 手机号.
     */
    private String mobile;

    /**
     * 密码.
     */
    private String password;

    /**
     * 加密盐.
     */
    private String salt;

    /**
     * 账号状态.
     */
    private Boolean status;

    private String domain;


}
